using System;
using Newtonsoft.Json;

namespace Megaplan.API.Models
{
    public class SubTask : TaskBase
    {
        [JsonProperty]
        public DateTime? Deadline { get; set; }

        [JsonProperty]
        public People Owner { get; set; }

        [JsonProperty]
        public People Responsible { get; set; }
        
        [JsonProperty]
        public string Favorite { get; set; }
    }
}